<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>hg.test</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>hg.test</h1>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#test">test</a></td>
<td></td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr>
<td><a href="#main">main</a></td>
<td></td>
</tr>
</table>
<hr /><hr />
<a NAME="test" ID="test"></a>
<h2>test</h2>

<h3>Derived from</h3>
BaseRequestHandler
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#test.EncodePasswordWithVerifyCode">EncodePasswordWithVerifyCode</a></td>
<td></td>
</tr><tr>
<td><a href="#test.Get_qq_msg_val">Get_qq_msg_val</a></td>
<td></td>
</tr><tr>
<td><a href="#test.Get_qq_msgs">Get_qq_msgs</a></td>
<td>this method is used to get login to website,and put the content to the micro blog</td>
</tr><tr>
<td><a href="#test.Make_cookie_dict">Make_cookie_dict</a></td>
<td></td>
</tr><tr>
<td><a href="#test.Make_dict">Make_dict</a></td>
<td>the content is a dict,but fetch.response is string,so we must change the string to dict</td>
</tr><tr>
<td><a href="#test.do_redirect">do_redirect</a></td>
<td></td>
</tr><tr>
<td><a href="#test.get">get</a></td>
<td></td>
</tr><tr>
<td><a href="#test.hex_md5hash">hex_md5hash</a></td>
<td></td>
</tr><tr>
<td><a href="#test.make_cookie_header">make_cookie_header</a></td>
<td></td>
</tr><tr>
<td><a href="#test.make_cookie_header2">make_cookie_header2</a></td>
<td></td>
</tr><tr>
<td><a href="#test.md5hash">md5hash</a></td>
<td></td>
</tr><tr>
<td><a href="#test.md5hash_3">md5hash_3</a></td>
<td></td>
</tr><tr>
<td><a href="#test.send_sina_msgs">send_sina_msgs</a></td>
<td>send sina msgs.</td>
</tr>
</table>
<a NAME="test.EncodePasswordWithVerifyCode" ID="test.EncodePasswordWithVerifyCode"></a>
<h4>test.EncodePasswordWithVerifyCode</h4>
<b>EncodePasswordWithVerifyCode</b>(<i>pwd, verifyCode</i>)
<a NAME="test.Get_qq_msg_val" ID="test.Get_qq_msg_val"></a>
<h4>test.Get_qq_msg_val</h4>
<b>Get_qq_msg_val</b>(<i>username, password</i>)
<a NAME="test.Get_qq_msgs" ID="test.Get_qq_msgs"></a>
<h4>test.Get_qq_msgs</h4>
<b>Get_qq_msgs</b>(<i>title, excerpt, username, password, **kwargs</i>)
<p>
				this method is used to get login to website,and put the content to the micro blog
</p><a NAME="test.Make_cookie_dict" ID="test.Make_cookie_dict"></a>
<h4>test.Make_cookie_dict</h4>
<b>Make_cookie_dict</b>(<i>cookie</i>)
<a NAME="test.Make_dict" ID="test.Make_dict"></a>
<h4>test.Make_dict</h4>
<b>Make_dict</b>(<i>content</i>)
<p>
				the content is a dict,but fetch.response is string,so
				we must change the string to dict
</p><a NAME="test.do_redirect" ID="test.do_redirect"></a>
<h4>test.do_redirect</h4>
<b>do_redirect</b>(<i>url, cookie</i>)
<a NAME="test.get" ID="test.get"></a>
<h4>test.get</h4>
<b>get</b>(<i></i>)
<a NAME="test.hex_md5hash" ID="test.hex_md5hash"></a>
<h4>test.hex_md5hash</h4>
<b>hex_md5hash</b>(<i>str</i>)
<a NAME="test.make_cookie_header" ID="test.make_cookie_header"></a>
<h4>test.make_cookie_header</h4>
<b>make_cookie_header</b>(<i>cookie</i>)
<a NAME="test.make_cookie_header2" ID="test.make_cookie_header2"></a>
<h4>test.make_cookie_header2</h4>
<b>make_cookie_header2</b>(<i>cookie</i>)
<a NAME="test.md5hash" ID="test.md5hash"></a>
<h4>test.md5hash</h4>
<b>md5hash</b>(<i>str</i>)
<a NAME="test.md5hash_3" ID="test.md5hash_3"></a>
<h4>test.md5hash_3</h4>
<b>md5hash_3</b>(<i>str</i>)
<a NAME="test.send_sina_msgs" ID="test.send_sina_msgs"></a>
<h4>test.send_sina_msgs</h4>
<b>send_sina_msgs</b>(<i>username, password, msg</i>)
<p>
			send sina msgs. use sina username, password.
			the msgs parameter is a message list, not a single string.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="main" ID="main"></a>
<h2>main</h2>
<b>main</b>(<i></i>)

<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>